home *** CD-ROM | disk | FTP | other *** search
/ ASME's Mechanical Engine…ing Toolkit 1997 December / ASME's Mechanical Engineering Toolkit 1997 December.iso / c_lang / varinc.lzh / PAGE231.C < prev    next >
Text File  |  1979-11-30  |  337b  |  7 lines

  1. for (row = 0; row < 2; ++row)                      /* Loop through each row. */
  2.    {
  3.    for (col = 0; col < 3; ++col)                         /* For each column, */
  4.       printf("%d  ", matrix[row][col]);                  /*   print element. */
  5.    putchar('\n');                           /* Skip line after printing row. */
  6.    }
  7.